﻿using System;
using System.Collections.Generic;
using System.Text;


namespace Atosenet.PluginEngine
{
    public interface IPlugin
    {
        ConnectionResult Connect(IPluginHost host);
        void Load();   
        void Destory();
        void ApplyOptions();

        bool Enable { get; set; }
        IPluginHost PluginHost { get; set; }
        string PluginName { get; }
        Version PluginVersion {get;}
    }

    public enum ConnectionResult
    {
        CONNECTION_FAILURE = 0,
        CONNECTION_SUCCESS = 1
    } 
}
